home *** CD-ROM | disk | FTP | other *** search
- Path: news.ptd.net!news
- From: Charly <Charly@postoffice.ptd.net>
- Newsgroups: comp.lang.c
- Subject: TAPI
- Date: 30 Jan 1996 01:40:00 GMT
- Organization: ProLog - PenTeleData, Inc.
- Message-ID: <4ejstg$21n@ns2.ptd.net>
- NNTP-Posting-Host: cs1-01.eph.ptd.net
-
- I'm trying to develope a TAPI application on Windows 95, with
- Visual C++ v4.0, in MFC v4.0 but am having a problem with the
- ::lineInitialize() function. I added the following code in CVIEW's
- OnInitialUpdate() (just try to get the TAPI function(s) to work):
- LPHLINEAPP lphLineApp;
- LINECALLBACK lpfnCallback;
- LPDWORD lpdwNumDevs;
-
- long n= ::lineInitialize(lphLineApp,AfxGetInstanceHandle(),
- lpfnCallBack, AfxGetAppName().lpdwNumDevs);
-
- When I compile and run the program, testing the value of n
- I get the error code LINEERR_INVALPOINTER. I'm assuming my problem
- is the LineCallBackFunction. In Inside Visual C++, Iread that wITH MFC
- you do need CallBack functions. If this true and this my problem what
- do I put for lpfnCallBack? Can somebody help me with the
- ::lineInitialize() function.
-
- Thank You
-
- Charly@postoffice.ptd.net
-